﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;

namespace Bombardiman
{
    public class Explosion : AnimatedGameObject
    {
        private Texture2D explosionTexture;
        public Explosion(Vector2 position)
            : base()
        {
            explosionTexture = FileLoader.getInstance().getExplosionTexture();
            base.Initialize(explosionTexture, position, true, 100, 100, new Animation(12, 30, Color.White, 1f, false, 0, true));
        }

        public new void Update(GameTime gameTime)
        {
            // needs edit
            base.Update(gameTime);
        }
    }
}
